package au.edu.swin.swinvehicle.manager;

import java.util.List;
import javax.ejb.Remote;

/**
 * ManagerManagerRemote
 * ----------------
 * This is the remote interface of Manager
 *
 *
 * @author Dany Gunawan *
 * @lastmodify 2009-05-12
 */
@Remote
public interface ManagerManagerRemote {

    public void addManager(ManagerDetailedTO to) throws ManagerManagerException;

    public void editManager(ManagerDetailedTO to) throws ManagerManagerException;

    public void deleteManager(Long id) throws ManagerManagerException;

    public List<ManagerTO> getAllManagers() throws ManagerManagerException;

    public List<ManagerDetailedTO> getAllDetailedManagers() throws ManagerManagerException;

    public ManagerDetailedTO getManager(Long id) throws ManagerManagerException;
}
